package com.ysstech.kettle.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * <p>
 * kettle参数信息表
 * </p>
 *
 * @author lishuangliang
 * @since 2022-10-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("kettle_job_param")
public class JobParam extends Model<JobParam> {

    private static final long serialVersionUID = 1L;

    @TableField("ID")
    private String id;
    /**
     * 参数英文名称
     */
    @TableField("KEY_NAME")
    private String keyName;
    /**
     * 参数中文名称
     */
    @TableField("CHINESE_NAME")
    private String chineseName;

    /**
     * 参数类型1.无2.字典，3sql
     */
    @TableField("FTYPE")
    private Integer ftype;

    /**
     * 数据类型 1.字符串2，整数，3.布尔 4.年月日 5.日期
     */
    @TableField("DATATYPE")
    private Integer datatype;

    /**
     * 是否必填 1是2否
     */
    @TableField("REQUIRED")
    private Integer required;

    /**
     * 默认值
     */
    @TableField("DEFAULT_VALUE")
    private String defaultValue;

    /**
     * 顺序
     */
    @TableField("SEQUENCE")
    private Integer sequence;

    @TableField("STATUS")
    private Integer status;

    @TableField("ADD_TIME")
    private LocalDateTime addTime;

    @TableField("ADD_USER")
    private String addUser;

    @TableField("EDIT_TIME")
    private LocalDateTime editTime;

    @TableField("EDIT_USER")
    private String editUser;

    @TableField("DELETE_REASON")
    private String deleteReason;

    @Override
    protected Serializable pkVal() {
        return null;
    }

}
